Skip to contentSkip to conversation

unknown command 'boot' with coreboot/grub2

DISCUSSION Ward Vandewege 3 participants 4 messages Mar 24, 2009 – Mar 27, 2009

lore
Share & tools
lore
#0 lore raw

I've built grub2 from source (r2045). My modules list is:

MODULES="minicmd normal ls cat help ext2 iso9660 reiserfs xfs fat pc gpt ata serial memdisk multiboot linux configfile search tar"

but when booting a multiboot xen kernel I get

unknown command 'boot'

My grub stanza is:

  menuentry "Xen 3.1.4" {
    set root=(ata0,1)
    multiboot /boot/xen-3.gz no-real-mode com1=115200,8n1 console=com1,vga
    module /boot/vmlinuz-2.6.18.8-xen root=/dev/hda1 ro console=tty0 console=ttyS0,115200n8
    module  /boot/initrd.img-2.6.18.8-xen
  }

Am I missing a module, or is the order wrong?

Thanks,
Ward.

Signature · 2 lines
Ward Vandewege <[email protected]>
Free Software Foundation - Senior Systems Administrator
#1 lore raw
Quoted 11 lines · Ward Vandewege

I've built grub2 from source (r2045). My modules list is:

MODULES="minicmd normal ls cat help ext2 iso9660 reiserfs xfs fat pc gpt ata serial memdisk multiboot linux configfile search tar"

but when booting a multiboot xen kernel I get

unknown command 'boot'

My grub stanza is:

Quoted 8 lines
  menuentry "Xen 3.1.4" {
    set root=(ata0,1)
    multiboot /boot/xen-3.gz no-real-mode com1=115200,8n1 console=com1,vga
    module /boot/vmlinuz-2.6.18.8-xen root=/dev/hda1 ro console=tty0 console=ttyS0,115200n8
    module  /boot/initrd.img-2.6.18.8-xen
  }

Am I missing a module, or is the order wrong?

Perhaps you have the bogus "boot" command elsewhere in grub.cfg. "boot" used to be a module. You may have stale boot.mod installed.

Signature · 2 lines
Regards,
Pavel Roskin
#2 lore raw
Quoted 19 lines · Pavel Roskin
Quoted 18 lines · Ward Vandewege

I've built grub2 from source (r2045). My modules list is:

MODULES="minicmd normal ls cat help ext2 iso9660 reiserfs xfs fat pc gpt ata serial memdisk multiboot linux configfile search tar"

but when booting a multiboot xen kernel I get

unknown command 'boot'

My grub stanza is:

  menuentry "Xen 3.1.4" {
    set root=(ata0,1)
    multiboot /boot/xen-3.gz no-real-mode com1=115200,8n1 console=com1,vga
    module /boot/vmlinuz-2.6.18.8-xen root=/dev/hda1 ro console=tty0 console=ttyS0,115200n8
    module  /boot/initrd.img-2.6.18.8-xen
  }
Quoted 4 lines
Quoted 1 line

Am I missing a module, or is the order wrong?

Perhaps you have the bogus "boot" command elsewhere in grub.cfg. "boot" used to be a module. You may have stale boot.mod installed.

It works fine with bochs + grub2, with the same grub.cfg.

The grub.cfg file does not have the boot keyword anywhere.

There is no boot.mod file anywhere in my grub2 tree.

Thanks,
Ward.

#3 lore raw

Have you updated the grub2 completely? (including core.img)

Quoted 44 lines · Ward Vandewege
Quoted 4 lines · Pavel Roskin
Quoted 3 lines · Ward Vandewege

I've built grub2 from source (r2045). My modules list is:

MODULES="minicmd normal ls cat help ext2 iso9660 reiserfs xfs fat pc

gpt ata

Quoted 11 lines
Quoted 11 lines

serial memdisk multiboot linux configfile search tar"

but when booting a multiboot xen kernel I get

unknown command 'boot'

My grub stanza is:

  menuentry "Xen 3.1.4" {
    set root=(ata0,1)
    multiboot /boot/xen-3.gz no-real-mode com1=115200,8n1

console=com1,vga

Quoted 1 line
Quoted 1 line
    module /boot/vmlinuz-2.6.18.8-xen root=/dev/hda1 ro console=tty0

console=ttyS0,115200n8

Quoted 7 lines
Quoted 4 lines
    module  /boot/initrd.img-2.6.18.8-xen

}

Am I missing a module, or is the order wrong?

Perhaps you have the bogus "boot" command elsewhere in grub.cfg. "boot" used to be a module. You may have stale boot.mod installed.

It works fine with bochs + grub2, with the same grub.cfg.

The grub.cfg file does not have the boot keyword anywhere.

There is no boot.mod file anywhere in my grub2 tree.

Thanks,
Ward.

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel